package com.yc.mybatis.core;

public class SqlSessionFactoryBuilder {
	private static SqlSessionFactory instance = null;
	
	private SqlSessionFactoryBuilder() {
		
	}
	public synchronized static SqlSessionFactory build(String config) {
		if(instance == null) {
			instance = new SqlSessionFactory(config);
		}
		return instance;
	}
}
